<?php
ob_start();

if (@$_GET['debug']) {
    error_reporting(E_ALL);
    ini_set('display_errors', 'On');
}

require_once '../Lib/Autoload.php';
Lib\Autoload::init();

require_once '../Lib/Util/Session.php';
Lib\Util\Session::start();

require_once '../Lib/Dispatcher.php';
Lib\Dispatcher::dispatch();

?>